/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view.commands;

import com.sun.lwuit.Command;
import com.sun.lwuit.events.ActionEvent;
import core.ScreenEngine;

/**
 *
 * @author Kvest
 */
public class BackCommand extends Command
{
    public BackCommand()
    {
        super("back");
    }

    public void actionPerformed(ActionEvent evt)
    {
       ScreenEngine.getEngine().pop(true);
       evt.consume();
    }
}
